package com.itcanteen.medical.docker.service;

import com.itcanteen.medical.docker.entity.Doctor;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeoutException;

/**
 * @author 段段
 * @PackageName: com.itcanteen.medical.Doctor.service
 * @ClassName: DoctorService
 * @Description:
 * @data: 2020/12/15 14:15
 **/
public interface DoctorService {
    //预约的患者,就会收到消息
    void sendMsgToPatient(String name) throws IOException, TimeoutException;

    //修改当前医生上班状态
    void updateStatus(String name);

    List<Doctor> findList();

    void uploadFile(Long id, MultipartFile multipartFile) throws IOException;

    Boolean login(String username,MultipartFile file) throws IOException;

}
